import request from "@/request";
import {POST, GET} from '@/constant'

export function getFileList(data) {
    return request({
        url:'/companyziliao/index',
        method:POST,
        data
    })
}

export function addFile(data) {
    return request({
        url:'/companyziliao/add',
        data,
        method:POST,
    })
}

export function removeFile(data) {
    return request({
        url: '/companyziliao/del',
        data,
        method:POST,
    })
}

export function getFileType(data) {
    return request({
        url: '/companyziliao/typelist',
        data,
        method:POST,
    })
}


export function editFile(data) {
    return request({
        url: '/companyziliao/edit',
        data,
        method:POST,
    })

}
